substring c# after character

40

substring c# after character -

var result = str.Substring(str.LastIndexOf('-') + 1);

Comments

Submit
0 Comments